﻿namespace Zo.Domain.UnitOfWorks
{
    public interface IUnitOfWorkResult
    {
        bool Status { get; }

        string ErrorCode { get; }

        string ErrorMessage { get; }
    }

    public class UnitOfWorkResult : IUnitOfWorkResult
    {
        public bool Status { get; internal set; }

        public string ErrorCode { get; internal set; }

        public string ErrorMessage { get; internal set; }
    }
}